<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="id" value="{$row.o_id}">
    <input type="hidden" name="type" value="{$row.o_type}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{$row.o_type == '2' ? '供货商' : '客户'}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-in_name" class="form-control" name="in_name" type="text" value="{$row.in_uname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">联系方式:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-in_phone" class="form-control" name="in_phone" type="text" value="{$row.in_phone|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
